package com.koron.car.web.applycar.bean.entity;

import com.koron.car.web.common.UpdateParameter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("用车出险")
public class DriverAccident implements Serializable, UpdateParameter {
    private static final long serialVersionUID = -31448127667589009L;

    @ApiModelProperty("id，主键")
    private String id;

    @ApiModelProperty("用车申请id")
    private String applyId;

    @ApiModelProperty("司机id")
    private String driverId;

    @ApiModelProperty("司机名字")
    private String driverName;

    @ApiModelProperty("车辆id，w_cm_car.id")
    private String carId;

    @ApiModelProperty("车牌号，w_cm_car.lic_plate_num")
    private String licPlateNum;

    @ApiModelProperty("对方车牌号")
    private String targetCarNum;

    @ApiModelProperty("出险地点")
    private String place;

    @ApiModelProperty("出险时间")
    private Date time;

    @ApiModelProperty("辖区交警队/派出所")
    private String processOrg;

    @ApiModelProperty("甲方")
    private String partyA;

    @ApiModelProperty("乙方")
    private String partyB;

    @ApiModelProperty("丙方")
    private String partyC;

    @ApiModelProperty("责任人")
    private String duty;

    @ApiModelProperty("事故描述")
    private String describe;

    @ApiModelProperty("状态，草稿、已完成")
    private String state;

    @ApiModelProperty(value = "创建人账号")
    private String createBy;

    @ApiModelProperty(value = "创建人姓名")
    private String createByName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人账号")
    private String updateBy;

    @ApiModelProperty(value = "更新人姓名")
    private String updateByName;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty("是否为提交")
    private Boolean submit = false;

}
